package com.pretty.framework.common.base;

import org.springframework.data.domain.ExampleMatcher;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import java.io.Serializable;

/**
 * 类描述：
 * 创建者：袁越
 * 创建日期：2017/4/8
 * 创建时间：20:53
 * Copyright:版权
 * © 2016-2020 上海金扳手科技信息股份有限公司 All rights reserved.
 */
public interface PrettyDao<T, ID extends Serializable> extends JpaSpecificationExecutor<T>, JpaRepository<T, ID>, CrudRepository<T, ID> {
    ExampleMatcher.GenericPropertyMatcher DEFAULT_PROPERTY_MATCHER = ExampleMatcher.GenericPropertyMatcher.of(ExampleMatcher.StringMatcher.EXACT);
}
